package system.manager;
import java.io.File;


public class ManagerSystemAPI extends system.api.API {

	File cwf = new File(".");
	
	@Override
	public ClientNavigator createNavigator(final ClientNavigator navigator,
			Object user) {
		navigator.addCommand(new Command("cwf") {

			@Override
			protected void doFunction() {
				ret("cwf", cwf);				
			}
		});
		navigator.addCommand(new Command("commands") {
			
			protected void doFunction() {
				ret("commands", navigator.getCommandMap().keySet());
			}
		});
		return navigator;
	}

}
